package com.ms.springutil;

import java.util.HashMap;
import java.util.Map;

public class Test {
	public static void main(String[] as) {
		
		String filePath = Test.class.getResource("test.xml").getPath();
		SQLBuilder sqlBuilder = new SQLBuilder(filePath);
		Map<String, String> param = new HashMap<String, String>();
		param.put("userName", "qw");
		String sql = sqlBuilder.getDynamicalSql("search", param);
		System.out.println(sql);
		
	}
}
